// 手机端弹出框
@mixin popup($popup-box-width, $popup-box-height, $popup-box-marginTop) {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  .popup_box {
    width: $popup-box-width;
    height: $popup-box-height;
    margin: 0 auto;
    margin-top: $popup-box-marginTop;
  }
}
// 按钮居中
@mixin button($button-width, $button-height, $button-fs, $text-color) {
  position: absolute;
  left: 0;
  right: 0;
  width: $button-width;
  height: $button-height;
  margin: 0 auto;
  font-size: $button-fs;
  line-height: $button-height;
  color: $text-color;
  text-align: center;
}
// 手机端留资
@mixin fillin ($box-width, $box-height, $input-width, $input-height, $input-fs, $input-placeholder-color) {
  width: $box-width;
  height: $box-height;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  input {
    width: $input-width;
    height: $input-height;
    font-size: $input-fs;
  }
   ::-webkit-input-placeholder {
    color: $input-placeholder-color;
  }
}
// position左右居中
%p_center {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}